<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>v-bind属性基本使用</title>
</head>
<body>
    <div id="app" v-cloak>
        <h2>{{message}}</h2>
        <img v-bind:src="imgURL" alt="">
    </div>
</body>
  <script src="../js/vue.js"></script>
  <script>
      var app = new Vue({
          el: '#app',
          data: {
              message: '图片',
              imgURL: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1753014350,1821793740&fm=26&gp=0.jpg',
          },
      })
  </script>
</html>